<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>试题选择</title>
	<script type="text/javascript" charset="UTF-8" src="${pageContext.request.contextPath}/js/jquery-3.3.1.js"></script>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
	<script type="text/javascript" charset="UTF-8" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
	<script type="text/javascript" charset="UTF-8" src="${pageContext.request.contextPath}/js/user/testPaperChoose.js"></script>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/user/other/jquery-labelauty.css">
	
</head>
<body>
	<jsp:include page="/WEB-INF/jsp/user/top.jsp"></jsp:include>
	<div style="height: 50px;"></div>
	<div class="row">
		<div class="col-md-12" style="background-color: #F4F4F4;height: 93%;background-image:url(${pageContext.request.contextPath}/img/laopo1.jpg);">
			<div style="height: 130px;"></div>
			<div class="col-md-3"></div>
			<div class="col-md-6" style="height: 400px;background-color: #FFFFFF;opacity:0.89;">
				<div style="height: 50px;"></div>
				<div>
					<h1><label class="col-sm-offset-1 col-sm-11 control-label">考试结果</label></h1>
				</div>
				<div style="height: 80px">
					<h3 style="line-height: 80px;"><label class="col-sm-offset-2 col-sm-2 control-label">总题量</label></h3>
					<div class="col-sm-7" style="line-height: 80px;font-size: 20px;">
						${maxQuestionIndex}个
				    </div>
				</div>
				<div style="height: 50px;"></div>
				<div style="height: 80px">
					<h3 style="line-height: 80px;"><label class="col-sm-offset-2 col-sm-2 control-label">错误个数</label></h3>
					<div class="col-sm-7" style="line-height: 80px;font-size: 20px;">
						${wrongQuestionCount}个
				    </div>
				</div>
				<div style="height: 50px;"></div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-3">
						<a href="${pageContext.request.contextPath}"><button type="button" class="btn btn-info">返回首页</button></a>
					</div>
					<c:if test="${wrongQuestionCount > 0}">
						<div class="col-sm-offset-2 col-sm-3">
							<a href="${pageContext.request.contextPath}/Question/lookThisWrongQuestion"><button type="button" class="btn btn-danger">查看错题</button></a>
						</div>
					</c:if>
				</div>
			</div>
			<div class="col-md-3"></div>
		</div>
	</div>
	
</body>
</html>